//
//  TaskToastView.h
//  ZITHER
//
//  Created by 吴凡 on 2019/2/25.
//  Copyright © 2019 weixn. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TaskModel.h"

typedef void(^ActionBlock)(void);

NS_ASSUME_NONNULL_BEGIN

@interface TaskToastView : UIView

@property (weak, nonatomic) IBOutlet UILabel *topLabel;
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UILabel *bottomLabel;
@property (weak, nonatomic) IBOutlet UIButton *closeBtn;

@property (copy, nonatomic) ActionBlock pushWebBlock;
@property (copy, nonatomic) ActionBlock cancelBlock;

- (void)setData:(TaskModel *)model;
@end

NS_ASSUME_NONNULL_END
